<?php 
include_once("./_common.php");

$content = "";

//제일 최근 이벤트 응모자 내역 (기본으로 나와야할 리스트)
$sql = "select * from g4_member where mb_level = 2 order by mb_id desc";
$rst = sql_query($sql);
$issue = array();
while($row = mysql_fetch_assoc($rst)) {
	$issue[] = $row;
}
for($i=0; $i<count($issue); $i++){
	if($issue[$i]['mb_name']){
		$content .= "[";
		$content .= $issue[$i]['mb_id']."\t".$issue[$i]['mb_name']."\t".$issue[$i]['mb_email']."\t".$issue[$i]['mb_birth'];
		$content .= "]\n";
	}
}
$text_con = $content;

if($text_con){
?>
<textarea class="input_user" name="input_user" cols="200" wrap="on" style="width:100%; height: 300px"><?php echo htmlspecialchars($text_con)?></textarea>
<?php }?>